package com.example.ormsqlsplicingframe1.utlis;

import java.util.ArrayList;
import java.util.List;

/**
 * 多线程缓存记录
 * 记录对象用
 */
public class ProxyTransactionListSessionUtils {

    private static List<Object> list = new ArrayList<>();


    public static List<Object> getList() {
        return list;
    }

    public static void setList(List<Object> list) {
        ProxyTransactionListSessionUtils.list = list;
    }

    public static void setList(Object list) {
        ProxyTransactionListSessionUtils.list.add(list);
    }

}
